JAVAC = javac
JAVAFLAGS = -O -d classes -encoding utf-8

atv:
	mkdir -p classes
	$(JAVAC) -classpath CLASSPATH $(JAVAFLAGS) src/cn/ac/istic/lkt/atv/*.java 
	cd classes ; jar -cfm ../atv-`date +%Y-%m-%d`.jar ../src/cn/ac/istic/lkt/atv/atv-manifest.txt cn ; cd ..
	cp atv-`date +%Y-%m-%d`.jar atv.jar



